matplotlib pops up new graph for each new value instead of updating graph

welcome to shbcf.ru